package com.yunzhong.appointment.illnesstpye.entity;


public class ResultJson {

    private boolean success;
    private String msg;
    private Object obj;
    private String[] msgs;

    public String[] getMsgs() {
        return msgs;
    }

    public void setMsgs(String[] msgs) {
        this.msgs = msgs;
    }

    public static ResultJson out(int tiao) {
        ResultJson r = new ResultJson();
        r.setSuccess(tiao > 0 ? true : false);
        return r;
    }

    public boolean isSuccess() {
        return success;
    }
    public void setSuccess(boolean success) {
        this.success = success;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
    public Object getObj() {
        return obj;
    }
    public void setObj(Object obj) {
        this.obj = obj;
    }
}

